Printer not found in Print Dialog / Hang Up when printing to PDF

Hello,

I have a network printer shared and I tried to print using the OpenVPMS print dialog. However, I cant seem to find my network printer in the selection. When I tried printing via PDF and pressed OK, it seems to have hanged up and I am unable to print. Is there a way for me to add my own printer directly in the print dialog or fix the issue on the lag regarding the print to pdf option.

 

Thanks

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: Printer not found in Print Dialog / Hang Up when ...

If your network printer was added after Tomcat was started, you may need to restart Tomcat.

If Print - Preview is hanging, and your template is an Office Office or Word document, it may indicate that OpenOffice is not responding. This is used to convert these documents to PDF.

On Windows, try terminating the soffice.bin and soffice.exe processes.

On Unix, try terminating the soffice.bin and soffice processes.

Re: Printer not found in Print Dialog / Hang Up when ...

Hi tanderson,

Thanks for the response. I have yet to check the printer issue further but will do a follow-up.

Regarding the hanging of the Print - Preview, it only hangs when I press the "OK" button but not when clicking the "Preview" option. I don't know if this is significant but will try your recommendation.

 

Thanks,

Re: Printer not found in Print Dialog / Hang Up when ...

Sorry - I may have misread your original post. If you are trying to print via a Print to PDF printer (e.g. Microsoft Print To PDF), in may be popping up a window to select the output file.

The alternative is to just use the Print - Preview option (or use Alt - V), which will produce the PDF.
You can also use the PDF viewer's inbuilt printing support to print locally.

 

Re: Printer not found in Print Dialog / Hang Up when ...

Hi tanderson,

Thanks for the response. I am actually trying to print from the system directly to my personal printer and I cannot find the printer. I tried restarting the Tomcat application but I am still unable to see my printer.

My current alternative is printing via Preview but sometimes I misclick on selecting OK instead of preview and the application hangs up so I was looking for a solution on how to print directly from the system to my printer.

 

Regards,

JR

Re: Printer not found in Print Dialog / Hang Up when ...

Hi,

In order for Tomcat and hence OpenVPMS to see your printer and you to be able to select in the Print dialog the user that runs the tomcat service needs to have that printer defined.  i.e if tomcat runs as the openvpms user then when you login to your PC as the openvpms user the printers should be shown.  Now typically on Windows if the printer is added as a local printer (includes network printers) then the printers should be visible to all users on that machine and also to OpenVPMS.  

I am not certain what type of printer and how it is connected to the machine running OpenVPMs and what operating system and version you are using so specific advice may be difficult to provide. 

Cheers

Tony

Re: Printer not found in Print Dialog / Hang Up when ...

Hi Tony,

 

I am running OpenVPMS 2.2.2 in my testbench and the printer is installed via network share on all of the accounts in my testbench machine. I have restarted the tomcat service and still unable to see the printer from the Print dropdown options as shown here.

Re: Printer not found in Print Dialog / Hang Up when ...

Hi,

Can you confirm the user running the Tomcat service on Windows i.e the logon user set on the tomcat service ?

Can you please show me the windows printers available on that server when logged in as that user ?

 

Cheers

Tony

Re: Printer not found in Print Dialog / Hang Up when ...

Hi Tony,

I have encountered the same issue. below is the steps I tried but still couldn't get the new printer

1) Add a new printer, restart the PC. >> Not working

2) Change tomcat9 service user to admin. And, checked the printer is there. Tried to restart multiple times. >> Not Working

3)  I. Create another local user "openvpms"; Grant as "Administrators"

    II. Login to "openvpms" profile;

    III. Add the printer;

    IV. Change Tomcat/MySQL Service ID to "openvpms";

    V. Restart multiple times;

    ** Still not working

Would you mind to help me please? :(

Version

Openvpms : 2.2.2

OS : Window 10

Webserver : Tomcat 9

 

 

 

 

Re: Printer not found in Print Dialog / Hang Up when ...

Hi,

I still expct some permission issues or visibility of the printers from the user running Tomcat but from what you have said it looks correct.  What Java release are you running ?

Tony

Re: Printer not found in Print Dialog / Hang Up when ...

hi Tony,

 

This is the version I am using

 

Re: Printer not found in Print Dialog / Hang Up when ...

Hi,

Can you do a test for me by installing latest java 8 and setting tomcat to use that rather than Java 11 ?

 

Cheers

Re: Printer not found in Print Dialog / Hang Up when ...

Hi Tony,

Okay, I will try that later. Any reason why you suspect the Java version? 

 

Thanks

 

Re: Printer not found in Print Dialog / Hang Up when ...

Hi,

It is the only difference between the windows environments that work and your environments from what I can tell remotely.  :-)

Re: Printer not found in Print Dialog / Hang Up when ...

Hi Tony,

 

I tried downgraded to Java 8 but still not fixing the problem

Services is run under "admin"

Admin profile has printer configured

But Openvpms>printer Sumary is not shown

Re: Printer not found in Print Dialog / Hang Up when ...

Hi,

I just had a thought.  Can you check your Practice Location ->Printers tab and tell me what is showing there.  If there are printers here that no longer exist and not your current printers this limits the list of available printers you can select from in the printer dialogs to those listed which ar eno longer available so dialog list is empty ..  

Also can you see a printer list in the Default Printer in Practice Location information ?

Tony

Re: Printer not found in Print Dialog / Hang Up when ...

Hi Tony,

You are the legend. :) 

looks like the new version is different from the previous 1. The printer is required to setup at openvpms before using it. I guess this is to cater if one system hosted at different location with different printer.

Do you think i should upgrade the java back to version 11? 

 

Thanks

 

 

 

Re: Printer not found in Print Dialog / Hang Up when ...

Hi,

Glad that fixed the problem.  :-)

The intention o fthe location printers is to allow limiting the printer list at specific locations to simplify location based printing for staff i.e not accidentally send to the wrong printer.

I expect something may be populating this and if the printers change limiting selection o fthe updated/new printers.  Haven't figured out what yet as this area is typically managed manually.  

Yes, you can revert back to Java 11.

Cheers
Tony

Re: Printer not found in Print Dialog / Hang Up when ...

noted. Thanks!

Re: Printer not found in Print Dialog / Hang Up when ...

Hi Tony,

You are the legend. :) 

looks like the new version is different from the previous 1. The printer is required to setup at openvpms before using it. I guess this is to cater if one system hosted at different location with different printer.

Do you think i should upgrade the java back to version 11? 

 

Thanks

 

 

 

Syndicate content