PDA

View Full Version : command line printing


laynemims
01-03-2006, 02:17 AM
When command line printing to laser printer, why do i get different output than i do when printing manually. I cannot set the minimum pixel or line thickness.

I guess what i'm trying to ask is
how to set the following from command line

Scale Line Weights
Black (No gray shades)
Minimu line thicknett in pixels = 6



Layne

GuthCAD Software Support
01-03-2006, 08:46 AM
Hi,

The command line print settings used by CAD Viewer are those (or should be those) that were last used within the user interface. These settings are stored in the file CVUSER.INI under the user's Application Data folder. Most commonly it would be the folder:

"C:\Documents and Settings\USERNAME\Application Data\GuthCAD\CV"

The relevant settings are in the [Print] section of CVUSER.INI. E.g.

Minimum line width in pixels set to 6 :

minpix=6

Black (No gray shades):

color=0

Scale Line Weights:

lineweight=n

where the value 'n' determines the weight as follows

n == weight
--------------------------
-1 == 0.25
0 == 0.5
1 == 1.0
2 == 2.0
3 == 4.0

For some reason it has not previously come up as an issue, but I can see that print from the command line would not necessarily require the same settings as those used within the user interface (e.g. a different printer is used.) Perhaps we need to have a method to specify the command line printer settings independant of the those used within the user interface. Let me know if this would be useful for you.

best regards,
Software Support