With the edge updates you get the following error when you try to print a receipt or open the cash drawer with UseSystemPrintDialog enabled.
The OptionKey is a Technology blog. How to tips and useful documentation on Apple, Microsoft, Open Source Project.
Friday, October 15, 2021
Microsoft Edge Kiosk Update Kills Printing with UseSystemPrintDialog registry enabled
With the edge updates you get the following error when you try to print a receipt or open the cash drawer with UseSystemPrintDialog enabled.
Tuesday, September 28, 2021
Changing email setting for users in google group workspaces
1. Go to groups.google.com. It should automatically take you to "My Groups" if not select "My Groups"

2. Go to People -> Members
You can change subscription and posting settings here.


Under subscriptions change subscription to Each Email if you want to get the emails for all emails.
Monday, September 27, 2021
"LbShrMem.FindName: invalid 'shared memory' pointer" Error when Launching Reports in Horizon on Windows 10
Variable name: HzShrMemBase
Variable value: 1912602624
However under windows 10 this prevents access to the ILS application but adding and removing the variable fixes it as does running the app in legacy mode for Windows XP SP2 but this is temporary. After a reboot the issue remains persistent. Doing file system scans (SFC) and check disk also occasionally resolves the issue, but the issue remains persistent and comes back after a couple shutdown and restarts.
Make use a local admin
Step 2. - Set the app to run as administrator
Step 3. - Change UAC (Reason for this is to prevent the popup prompt)
After running the ILS application like this for 3 weeks I am confident that the issue has been mitigated. Do I recommend running an application like this? No. However it was consuming IT resources having to go back and disk scanning, adding/removing system variables to get the report to run. There is extra security precautions put on to the system for monitoring and firewall blocking. For now that is all that can be done until an application update.
Tuesday, September 14, 2021
Allowing iframes from a shared hosting server
![]() |
| Shared Hosting Providers |
Website security is a very important thing these days. There are lots of reasons to refuse sites from embedding your site via iframe or embed tag. However if you have or are purchasing a paid for services like an intranet and you don't want to re-write everything to work with that services JavaScript library and security policy, an embed or iframe may just be what you need to use.
By default, most of the shared webhosts I've used allow configuration with a .htaccess file. Now I do recommend going though and assessing what you need to setup for your site to get done what you need to get done security wise; but in this case I need to allow for iframes from an igloo intranet site.
Typically if you have experience in setting up something like apache, you would use the x-frame header to do this; however this has changed for modern browsers, and while you may still need to add the x-frame for some legacy browsers, I'm going to be focusing on edge, chrome and firefox.
On igloo I have a embed tag, with the source going to a website which I have on a shared host. I have a sample that can be seen below. By default the shared hosting provider refuses the iframe connection by default.
<embed type="text/html" src="https://websiteIcontrol.ca" width="500" height="200">
We want to add the following (the one highlighted in green).
https://htaccessbook.com/important-security-headers/#xframe
Friday, September 10, 2021
How to deploy a printer with zero (no) touch though Active Directory
What is zero touch or no touch deployment? Well it is the process of configuring devices and pushing updates out to the network from a central location. As the term implies, zero-touch configuration enables IT teams to configure, or modify, hundreds or even thousands of devices remotely. In this case a zero touch deployment of a printer to a half dozen workstations. Now I understand there are many different ways of doing it and Microsoft has allowed this pretty far back and was mostly done with bat files and scripts. In an effort to modernize things here is how you can do it using just your active directory. I do have some caveats that will need to be in place first. Also be aware that this is what Print Nightmare exploits, I will go though some mitigation things that can be done; however as always you have convince vs security.
- You will need a print server and it will have to be connected to your AD
- You will need properly setup security groups in your ad
- You will need your print servers setup with drivers installed and drivers setup for deployment.
So in this case I have the administrators group for the domain, the local admin, and the organizational group that needs to print to the printer.
As you can see if it is deployed with group policy, the shows up in the "Deploy with group policy" menu item
Wednesday, August 25, 2021
SQL for recovering a pull list on Horizon ILS
The Horizon ILS has a list of holds where the report is run but if the list is not kept it is lost and you have to run a sql script to recover the list. You will require sql studio, and a login to the database. Once logged in.
Select your ILS DATABASE using SQL Studio or change "$ILSDatabase" in the script below to be the name of your ILS Database and it will automatically select the database for you.
USE [$ILSDATABASE]
GO
update request set fill_date = NULL, fill_location = NULL,
fill_item# = NULL where
fill_date = datediff(dd,'01 jan 1970',getdate())and fill_location = '$location' and request_status = 0
Below is a sample of what the script looks like in SQL Studio.
In the script change $location with your location code that is setup in Horizon to recover the branch pull list.
Thursday, August 12, 2021
Customizing Shopify to remove the add to card button
and replace {% section 'product-template' %} with {% section 'product-template-requires-contact' %} and hit save located on the top right of the editor window.
Now scroll down to the section section of the templates as shown below and click on the "Add a new section", following the shopify tutorial I called mine "product-template-requires-contact"
With that done, click on product-template.liquid; select all and copy the code then click on product-template-requires-contact.liquid and paste the code into the file and click save. At this point we can actually assign the template to the product we want to point to. Since this is a one off this will work fine, however if I had several I had to do this two I would have to figure out a way of assigning the correct URL.
Thursday, August 05, 2021
Using Event Ticketing in Shopify
The organization I work for started using shopify during the pandemic, and it has been a useful tool but because of factors beyond my control it was a little tricky to setup. However now that it is been working for about 8 months now, they are looking at running an event and selling tickets through shopify, instead of using eventbright. So I found a "app" in shopify called Event Ticketing, it seems to do the trick. The setup is pretty long, but you do get a nice result after.
It would help if you had this information when you go to create your events in Event Ticketing
A list of events with dates, times and durations
Shopify Graphic, 344x521px
Ticket Graphics - PDF - generic logo is 800x300px
Apple Wallet Icon 114px x 114px
Apple Wallet Logo 837px x 285px
Apple Wallet Banner 1125px x 294 px
Events are made one at a time, with tickets and graphics being done at this time. You can go back and edit graphics for events, though it will be easier to do it all at once.
Create Event -> Customize Ticket -> Customize Variant (Shopify Version of Product). -> Make variant active (allow it to be sold)
IMPORTANT. Besides updating the description, status and the image DO NOT EDIT the variant.
Log into shopify and select apps
Select Event Ticketing
Create Event
Select the event type, give it a name, location and date
Enter Ticket Details such as price inventory, ticket type (guest, comp, online, vip, etc)
Here is where you can specify a total number of tickets to sell. You check the box set total capacity. In the screenshot below, you can see the inventory is no longer available on a per ticket basis. For the purposes of most library events I would recommend specifying a specific number of free tickets first if desired then taking away from the ticket pool. Event Ticketing can split tickets into pools, but it does so equally for the ticket types so there is no 80/20, 90/10 split or anything like that. See explaination
Below I have 2 tickets: General admission and COMP which takes from the same pool. However it will split the tickets automatically into equal pools. It is recommended that if you want to approach an event this way, that you have multiple ticket types much like a hockey or football game (front row, 2nd row, 3rd row, 4rth row, 5 row, comps).
Additional Options were not available in the trial.
Shopify Preview. Below is a preview of the typical setup and below is a explanation of using total capacity. I don’t recommend using total capacity unless seats will start being sold based on how close a person is the “stage” or event. IE. Hockey Game bowel colours. You can click on the preview variant to view the info..
When using the set total capacity it event ticketing doubles the number of tickets for each event. You can see the tickets either together or separated. See below.
Hit Save to save the event.
<!--IMPORTANT--!>
Don't edit the options, values, or variants in Shopify! It is critically important that you do not edit the product options, values, variants, SKU's, or duplicate the product as this is not supported yet.
DO NOT:
Add, edit, or remove product options and values
Duplicate the product or variants
Add more variants
Change SKU's
Change the product type (keep as Ticket)
Doing any of the above actions will cause the app to be unable to issue and fulfill tickets.
It is SAFE to edit the description, images, price, title, tax, and tags. You may also delete variants.
<!--IMPORTANT--!>
By Default, the variant (shopify version) is not active. You must edit the variant and change the status from draft to active but do so only after your event is ready. (Ticket customization, etc). After finishing with setting up the event the next step is to customize the tickets.
With the tickets there two types of tickets you can use PDF and Apple Wallet
Setup PDF - You can get very fancy with the ticket setup. The fastest and easiest way is to select standard.
Then you will get a basic interface where you can upload a identity banner (branding) and change the label and text color.
For this example I have Location Name, Price, Event Start Date (Date & Time), Event Name and Ticket Type
Select Done when you are done editing. You should do both the Apple Wallet and pdf version. If you want to view this you must have a iOS device available
Once your ticket is customized you can update the image, status and description on variant. Click on the Event name to edit the variant. It is recommended that you edit ONLY the description, status and image.
When you are done editing the image and description and want to make the item live, change the status from draft to active and save the variant. If you want to see a preview select the preview button in the top right next to More actions. Hit save to save your changes.
Crontab changes in Linux 26.04 vs previous versions
I use a small Linux server to control the turning on and shutting off our client stations with crontab. The system I typically use is Ubunt...
-
When working in a test environment you don't exactly want something to have internet access; so you need to be able to download files in...
-
To see a video of the Rustdesk installation visit https://www.youtube.com/watch?v=t7UobpjDsRY and if you like the content please like and s...
-
Quick guide: Automatic login in Windows 10 Open the Registry Editor using [Windows] + [R] and “regedit” . Enter HKEY_LOCAL_MACHINE\SOF...































































