>>
APLDN Home

>>
Events

>>
Trainings

>>
APL Books

>>
APLDN Links

>>
Discussion Groups

>>
Downloads

>>
Articles

>>
Library

>>
Learning Tools

>>
APLDN User IO

>>
APL2000.com




Bug Reports

Author Thread: Printing to Adobe PDF with Virtual Grid
Rex.Swain
Printing to Adobe PDF with Virtual Grid
Posted: Thursday, February 15, 2007 7:01 PM (EST)

I have been working on printing with the virtual grid, and have run into a weird problem.  When I print to my local LaserJet, it works fine, but I don't want to waste paper.  When I try to print to Adobe PDF, nothing happens.  FYI, I have Adobe Acrobat version 6, and it works fine with other applications (including ProVal).  Other virtual printers (like 'Fax') work okay.

 

I am attaching VTEST.W3 which demonstrates the problem.  First execute vTest.  Then edit line [13] of the vPrint function and then execute it.  If you don't specify the printername at all, or (in my case) specify 'HP LaserJet 2300L' (my default printer), it works okay.  Note that onPage events fire.  Now change to ('printername' 'Adobe PDF') and run again.  No onPage events fire.



Attached file: VTEST.w3


Comments:

Author Thread:
Support
Printing to Adobe PDF with Virtual Grid
Posted: Monday, February 19, 2007 4:10 PM (EST)

Some printer drivers, like Adobe PDF, and especially network printers require that the caption property be set when the printer is created.  The caption you specify will appear in the "Save PDF File As" dialog.

 

APL2000 Support

     

Brian.Chizever
Printing to Adobe PDF with Virtual Grid
Posted: Monday, February 19, 2007 4:38 PM (EST)

I always set the printer caption because if it's empty, printing to a text file doesn't always work. 

 

Also, you never know when you're printing to a file because if you use the standard print dialog, the user can check the "print to file box".

 

-Brian

     



APL2000 Official Web Site

Here is a test to find out whether your mission in life is complete. If you're alive, it isn't.
--- Richard Bach

APLDN Home   |    |  Events   |  Trainings   |  APL Books   |  APLDN Links   |    |  Discussion Groups   |    |  Downloads   |  Articles   |  Library   |  Learning Tools   |  APLDN User IO   |  APL2000.com   |