Solved

HP LJ1200 Setting FORMLINES

Posted on 2001-07-25
4
261 Views
Last Modified: 2013-12-15
In the past I used a string of ASCII to change formlines on LJ1100 from default of 60 to 66:  27 38 108 54 54 80
Now trying same on LJ1200 and it just prints the characters on paper, which leads me to believe that the escape character is different.  Would appreciate characters needed or a better method.  Thanks.
0
Comment
Question by:sjulian
  • 2
  • 2
4 Comments
 
LVL 12

Expert Comment

by:DRRYAN3
ID: 6324959
You cannot send straight ASCII codes to the printer, they must be converted into the actual characters represented by the ASCII numeric code.  Most DOS applications provide a way to do this by entering the printer escape codes.

What software are you trying to use?
0
 

Author Comment

by:sjulian
ID: 6326761
I used a Visual Basic exe to send the string to the printer.  Code below:

Private Sub cmdOk_Click()
'RADIO BUTTONS ALLOW USER TO SELECT WHAT VALUE TO SET FORMLINES
If opt66.Value = True Then
  Printer.Print Chr$(27); Chr$(38); Chr$(108); Chr$(54);  Chr$(54); Chr$(80)
Else
  If opt60.Value = True Then
    Printer.Print Chr$(27); Chr$(38); Chr$(108); Chr$(54); Chr$(48); Chr$(80)
  End If
End If
Printer.EndDoc
Close
End
End Sub

Private Sub Form_Load()
    CommonDialog1.ShowPrinter
End Sub

0
 
LVL 12

Accepted Solution

by:
DRRYAN3 earned 125 total points
ID: 6327318
I think that the Windows printer driver is your problem.  You will have to set the style you want using the Windows printer API calls.
0
 

Author Comment

by:sjulian
ID: 6327402
I got an answer from HP, but it was wrong.  All that has to be done is to start the HP Configuration Utility, and change the form lines setting.  Simple Huh?
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

How to solve seemingly unsolvable printer issues. Users sometimes run into printing issues where all the normal steps do not seem to work. Well the steps below can show users how to take one extra step beyond the normal steps needed to remove old…
Causes of paper jams:The following are the main causes of paper jams. Guides:If the guides for the paper are not set correctly they may cause the paper to enter at an angle. You should ensure that the guides are set correctly for the paper type a…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now