by Priyan R (10 Submissions)
Category: Coding Standards
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (9 Votes)
Many of us may noticed , we can set custome paper size in printer properties in win98, then we can select it using printer.papersize=vbprpsuser but we cannot use this method in windows NT(Xp, 2000 etc). In that we can create a specified form in print server properties(Control Panel-> printers->File->Print Server). But many of us don't know how to select this form in vb printer object. Me too searched this for a long time i never found one in VBC. But i found one in microsoft KB Article. I modified the code. Now using this you can create A custom form , and it can be selected in the printer object. I think this is a very useful one
Assumes
Many of us may noticed , we can set custome paper size in printer properties in win98, then we can select it using printer.papersize=vbprpsuser but we cannot use this method in windows NT(Xp, 2000 etc). In that we can create a specified form in print server properties(Control Panel-> printers->File->Print Server). But many of us don't know how to select this form in vb printer object. Me too searched this for a long time i never found one in PSC. But i found one in microsoft KB Article. I modified the code. Now using this you can create A custom form , and it can be selected in the printer object. I think this is a very useful one