Printing Problem!!

pylc
07-20-2003, 10:22 PM
I have this application whereby I can print stickers. So I design the template for the sticker and use printform to print. I realised there are problems using this approach:

1) How do I set space and margin alignment using printform?

2) I need to print multiple stickers on a A4 paper. But running printform will always put the template on top of the paper.


How do I solve these problems?? This is quite urgent! Thx!!

Optikal
07-20-2003, 11:17 PM
Use the GDI API's to draw to the printers DC (Printer.hDC).

Things such as DrawText(), BitBlt(), etc.

pylc
07-21-2003, 08:55 PM
How do ou draw to a printer DC?
Can show me a sample?

Use the GDI API's to draw to the printers DC (Printer.hDC).

Things such as DrawText(), BitBlt(), etc.

passel
07-21-2003, 09:53 PM
How do ou draw to a printer DC?
Can show me a sample?

Use the GDI API's to draw to the printers DC (Printer.hDC).

Things such as DrawText(), BitBlt(), etc.

You can use the Printer Object to print to the printer.
See if this thread will give you ideas.
(Especially the latter four of my posts there, explaining the use of
the printer object and scalemode in great detail".

http://www.visualbasicforum.com/t92080.html

pylc
07-22-2003, 01:08 AM
I encountered a problem with printform. I need to print up to the size of A4, but VB screen only allows me to design the controls up to the limitation of the screen! How do I overcome this?

passel
07-22-2003, 07:54 AM
I encountered a problem with printform. I need to print up to the size of A4, but VB screen only allows me to design the controls up to the limitation of the screen! How do I overcome this?
Someone else had this problem, and there is no good solution (that.
we know of yet). Printform will not allow you to scale the output.
The other link was:

http://www.visualbasicforum.com/t92778.html

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum