Jump to content

Recommended Posts

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

Link to post
Share on other sites

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 support@productivecomputing.com!

 

Thanks!

PCIPal

Link to post
Share on other sites

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

Link to post
Share on other sites

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

Link to post
Share on other sites

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

Link to post
Share on other sites

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

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.