Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

strange problems with printing (w2k)

Status
Not open for further replies.

rich110

Programmer
Jan 4, 2003
72
HK
Hi guys,

I recently switched to w2k because my w98se just blew up. I have been developing applications using visual foxpro 6 for my clients. When I tried to set up the printer for my application, I found I cannot define the paper size as I could in the past when using w98se so I set the paper size to US fanfold (I am printing with fanfold and I want a nice page jump because a wrong page length will have the first line of each page all over the place instead of the fix place everytime, I think you know what I am talking about).

OK, setting this page length gets me a nice page jump (vertically OK) but the page strink horizontally. Not in proportional but in a very stange way :

@prow()+1 ,0 say repl('-',20)
@prow(),20 say '*****'

will print likc :
----------------------------- *

I set up a w98se enviornment and run the same program. The line will print continuously. Could this be a problem in the W2K or a mismatch between VFP 6.0 and W2K. If my clients switch to W2K then I would be ........ Any input will be much appreciated.

Many thanks


 
I'm not sure about this, but I think the problem is because the default font is not using the proportional font. Try this:

@prow()+1 ,0 say repl('-',20) font 'Courier New',10
@prow(),20 say '*****' font 'Courier New',10

Hope it works


-- AirCon --
 
rich110

I believe in Win2K you can setup a custom size paper for any printers, whether the driver allows it or not, if you go to my computer and from the menu go to server Properties, you can specify custom size paper there.

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top