In DOS to Windows program conversions, I have discovered that:
|Click the Start
Settings, then Printers.
Click the icon that says Add new printer. Since most of these tractor-feed printers are not Plug ’n Play, you will have to select your brand from the pane on the left, and then the model on the right. Now click Next, and give this printer a unique name, like “CustomPrinter”. And continue on to save the printer.
|Now find this new printer and right-click on it and select Properties. Find the Paper tab and then under the Paper size, scroll to the far right and double-click on Custom.|
|You now have a dialog like this.|
You are now set up from the user end. The dBASE programmer will set this up in his/her print program to recognize this specific printer.
It is best for the programmer to design the report in the latest OS such as Windows 2000 and then make sure it is compatible with older versions such as Windows 98. This way, should your customer upgrade or get a new computer, all they will have to do is follow the next set or rules for custom printers. Note that this programmer could not get the print program to recognize the custom settings, as there were 3 steps for me to do, since I had already coded it for win98.
The following is adapted from an article by Frank Polan that I found while searching the web for help on this topic. I have used his words and added the screen images to aid in following the procedure.
From the web http://www.imcus.cc/printing.html#win2klabel which states the following:
Q. My labels on my Windows 2000
or Windows XP machine take up a whole page, how do I fix it?
|The paper size for printers under Windows 2000 and Windows XP is set up entirely different from Windows 95/98 and ME machines. To set the custom paper size in Windows 2000/XP, go into the Printer Control Panel and click on File, and then Server Properties.|
|Once in the server properties, check the Create a New Form checkbox and call it “IMC Label” in the Form Description entryfield. Specify the label size that your department is using.|
|Once the label has been created, you need to go into the label printer's properties and specify which printer form you want to print to. This is done in two places. The first place is set by clicking on the Printing Preferences button.|
|Then click on the Advanced button. Specify the IMC Label here.|
|You also have to specify the paper to use on the Device Settings tab.|
Click the wrench tool next to the printername property to invoke the following dialog:
It is important to make sure you set the paper size as described above.