|
-
Aug 13th, 2007, 04:53 PM
#1
Thread Starter
New Member
[RESOLVED] printing into spaces on pre-printed form
The title says what I am trying to do. The dot matrix printer does not load the printed form to exactly the same spot each time, so I have to have both a horizontal and a vertical adjustment before starting to print. In VB3 I printed a diagonal scale on the document, stopped, and adjusted the print location based on the points on the scale that hit a reference point on the document. But I can't get VB4 to print that scale and stop. When I use "enddoc" the page is ejected after the scale is printed. Any suggestions on how to print character(s) on the document then stop and allow the position of the subsequent printing to be adjusted based on where that character appears on the document? Or some other way to be sure I hit the right spaces with my printing?
-
Aug 13th, 2007, 05:49 PM
#2
Re: printing into spaces on pre-printed form
There's no way to send print to the printer until EOJ so the best you can do is to adjust and then reload the already printed on sheet or waste another sheet.
-
Aug 14th, 2007, 03:08 AM
#3
Re: printing into spaces on pre-printed form
can you put marks on the printer then align the paper to the marks each time?
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|