SarahS Posted September 22, 2020 Posted September 22, 2020 The Change Printers documentation details how to create a table to save the names of the printers. It seems like that table would require updating every time a user prints based on the documentation and I'm not sure I understand why that is needed. Can you help me understand please? In addition, for testing with a demo license, what do I use for the "License ID" in the PCCP_Register function? I can't seem to get the PCCP_GetPrintAt function to work and wonder if it is because I am using the plugin in Demo mode or if I don't have the correct index parameter. Thank you! Sarah
PCIPal Posted September 22, 2020 Posted September 22, 2020 Hi Sarah, Technically, you would only need to fill the table once so that entries referring to every connected printer device is stored. This is the case especially if there is only one machine in use, or if the machine is part of a network that has identical device connections for each client machine (such as everyone can print to an office printer in, say, the supply room). We have an example of populating the table in our demo file, though the demo file also does the job of clearing out all records in it when closing it or opening it. As for the license ID, PCCP_Register requires either the live purchased license ID (which you receive after buying a license from us), or the Demo license ID. for Change Printer, the demo license ID is "DEMO-CPS". The demo registration lasts for 30 days total, and you can use the plug-in in 2 hour increments per FileMaker session. The full call would look like this: PCCP_Register( "licensing.productivecomputing.com" ; 80 ; "/PCIReg/pcireg.php" ; "DEMO-CPS" ) Hope this helps! If you have any further questions, please don't hesitate to reach out to us or our support team at [email protected]! Thanks! PCIPal
SarahS Posted September 23, 2020 Author Posted September 23, 2020 Thank you for your timely guidance PCIPal! I have those items working. I am a little confused in that PCCP_GetLastError( "Number" ) returns the result of "SUCCESS" and I expected a success would return 0 when using "Number" as the parameter. Is what I am seeing expected behavior? Thank you, Sarah
PCIPal Posted September 23, 2020 Posted September 23, 2020 Hi Sarah, PCCP_GetLastError( "Number" ) should be returning the error code number of a recently-performed function. If the function was successful, the result should be 0 (just as the direct result of the function would be 0). I'll pass this along to our plug-in developer to take a deeper look. Thanks for bringing this to our attention! PCIPal
SarahS Posted September 30, 2020 Author Posted September 30, 2020 I am struggling to get this plugin to work with Mac OS 10.14. How/where within the 10.14 System Preferences do I ensure that access for assistive devices is enabled? Thank you, Sarah
PCIPal Posted October 1, 2020 Posted October 1, 2020 Hello Sarah, You can make sure FileMaker has proper access to your system by navigating to the following screen: System Preferences > Security & Privacy > Privacy > Accessibility In this case, make sure that the box net to your FileMaker version is checked. -PCIPal
Recommended Posts
This topic is 1512 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now