Printing.txt

For general issues related to PWB v2.

Moderators: Tyler, Scott, PWB v2 Moderator

Post Reply
Randy
Observer
Observer
Posts: 4
Joined: Mon Jun 02, 2008 7:51 am

Printing.txt

Post by Randy »

Hello,

We are using PWB version 2.10.4 on Dell Opiplex 520s. When I changed the INI file to "showprintingdialog=True" and wrote a message in the Printing.txt file the message appears as expected when PWB is launched from the start menu.
When PWB is launched from the batch file and I click on the print button, I get the error "printing.txt was not found. Why does it work in first instance, but not in the second?



Randy Marsola
South Brunswick Public Library

Scott
Site Admin
Site Admin
Posts: 2539
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Post by Scott »

If you are starting PWB from a batch file the current folder may not be the PWB folder. PWB looks in the current folder and the "path" for the files unless the full path is specified in the INI file.

Normally changing the INI file to include the full path to the file will correct the error.

[Printer]
PrintingMessageFile=C:\path to file\Printing.txt

--Scott

Randy
Observer
Observer
Posts: 4
Joined: Mon Jun 02, 2008 7:51 am

Printing.txt

Post by Randy »

Hi Scott,

I included the full path in the ini file, but I still hot the printing error message. I solved the problem by putting a short cut to PWB in the startup menu.

Randy Marsola
South Brunswick Public Library

Post Reply