DELPHI: Setting printer page length 
Author Message
 DELPHI: Setting printer page length

I need to print "one-up" continuous-feed labels from Delphi.   I am currently
able to place the bitmapped company logo and all the desired data on within
the area of one label ( 1 15/16" x 4" ).  When I use the NewPage method to
reset the printer's Canvas, PenPos, etc., the printer ejects the default 11''
of label roll.

I've looked at and failed to fathom the GetPrinter/SetPrinter methods.  I was
hoping to access the DevMode structure for setting page length, but to no
avail so far.  I've been hacking around with API stuff like LoadLibrary,
GetProcAddress, and ExtDeviceMode but can't get it to work either.

If you've done this, could you pass on the "secrets" of altering the printer
settings from code in Delphi?  You may post a response since there are
probably a few more like me out there, but I sure would appreciate direct
email (seems to travel faster, more reliably) as well.

Thanks, folks.

[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][]
Scott A. Martin
NOESIS Open Systems
(206) 286-6411

[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][]
///////////////////////////////////
Scott A. Martin                  
SCO ACE and Authorized Instructor
NOESIS Open Systems
(206) 286-6411

///////////////////////////////////



Sun, 21 Dec 1997 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Setting Printer's Page Size From Program

2. datacombobox not saving all the character even though it is within length of field length

3. Setting printer.orientation property

4. Setting Printer.Orientation property on HP III

5. Need help with printer set-up

6. Setting printer - QRprinter

7. Setting the Paper size on the printer.

8. how to set the default printer in Win95

9. Setting default printer for tp 7.0 <F>ile <P>rint

10. how to set the default printer in win95

11. page up/page down

12. Visual page / Active page

 

 
Powered by phpBB® Forum Software