Solved

HP LJ1200 Setting FORMLINES

Posted on 2001-07-25
4
262 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Ricoh MPc5503 locked print not listed 1 48
Can't install printer driver 10 57
Print Jobs Hangting Out For A Long Time 3 27
Group Policy Printer Mapping to LPT2 6 26
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…
When I recently replaced my image transfer kit on my office HP color laserjet 5550dn printer, I had a slight problem.  The left bracket that holds the transfer kit got stuck in the upright locked position instead of being at a 45 degree angle facing…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

803 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