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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

printcapture and font size

Status
Not open for further replies.

dhuyvo

Technical User
Apr 15, 2003
5
US
Hi there,

I have problme with the font when using printcapture. Even I set the font size is 20 but it's nothing changed. Here is my code. Please help.

proc main
set print fontsize 20
printer open
printcapture ON
printalign CENTER
transmit "^M /s/c -c^M"
waitfor "Backplane ID:"
waitfor ">"
while FAILURE == 1
waitfor ">"
endwhile
printcapture OFF
endproc


Thanks
 
Does the process work correctly if you do the steps manually? Most of the printing functionality in Procomm uses a font size to match what you are using as a screen font, so it may not be possible to do this.


aspect@aspectscripting.com
 
Hi Knob,

If I use Print commands to print, the font is OK. However, when I use printcapture it doesn't looks like working.

How can I run a script manualy step by step? Please show me. I'm just a beginner for Aspect script.

Thanks
 
Sorry, when I meant run the commands manually, I meant to perform the same steps in Procomm that your script is doing. When you say you use the print commands and it looks OK, do you mean you did a print capture via the File | Print Capture menu item or the Print Capture toolbar button, or were you doing a different type of printing then?

I'm wondering if the printcapture command does not honor the various set print commands since it is a different bit of functionality. I will look into this when I get back from lunch.


aspect@aspectscripting.com
 
I performed a print capture manually, a print capture via a script, and a second print capture from script after setting the font size as you did. I received the same output in all three cases. This makes me think that the set print fontsize command (and likely other set print commands) does not work with printcapture. I do not know if this is by design, but I think so. What you will likely need to do is set Procomm's temrminal font to be the desired size, then issue the print capture command. A print capture tries to uses a font and font size that most closely resembles what you are using on-screen. If you change the size of the terminal font, then this should affect the size of the print capture output.


aspect@aspectscripting.com
 
Hi Knob,

I did change the font size of the terminal but it's not affected.
I think I'll find another way to do it without princapture.

Thanks for you help
 
We have a customer with procomm 4.7. The font on the screen look fine, but when printing the forms the font is too large. We have tried changing fonts size in procomm, adj the margins,ect. Apparently procomm prints whatever the hell it wants to print as far as size. No one supports it as far as phone support. Can someone tell me how to change the font size. Thanks Cliff
 
How are you printing from within Procomm (File | Print menu item, dedicated printing, selecting text, etc.)? Procomm will try to select a printer font that matches as closely what appears on the screen, but overall printing is a weird beast in Procomm.


aspect@aspectscripting.com
 
Let me mention I am printing locally from the parallel port. Cannot find a way to change print font size at all. Help
 
Is your customer performing some sort of action to cause the print job to occur, or are they receiving it from the machine they connect to? For the most part, you are stuck with the font Procomm chooses for you if they are not performing a dedicated print (a message will flash on the status line when this occurs). One option is to try to print to a generic text-only printer instead of the "real" printer and see if that helps. Other than that, printing is not very modifiable.


aspect@aspectscripting.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top