EasyManuals Logo

Brother HL-5450DN Technical Reference Guide

Brother HL-5450DN
517 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #106 background imageLoading...
Page #106 background image
CHAPTER 2 PCL - 87
See the following example for programming examples using gray scales.
Gray scale example
10 ESC$ = CHR$(27)
20 WIDTH "LPT1:", 255
30 REM --- DRAW A PATTERN USING 64 GRAY SCALES ---
40 X = 50: Y = 100: XL=50 :YL=200
50 FOR GRAY = 0 TO 100 STEP 2
60 GOSUB 220
70 X=GRAY*10+50 :XL=X-XL
80 GOSUB 260
90 XL=X
100 NEXT GRAY
110 REM --- DRAW A PATTERN USING 8 GRAY SCALES ---
120 Y=400
130 FOR GRAY = 0 TO 100 STEP 2
140 GOSUB 220
150 X=GRAY*10+50 :XL=X-XL
160 GOSUB 320
170 XL=X
180 NEXT GRAY
190 REM --- PAPER EJECT ---
200 LPRINT CHR$(12)
210 END
220 REM --- SET THE CURSOR POSITION ---
230 LPRINT ESC$; "*p"; X; "X";
240 LPRINT ESC$; "*p"; Y; "Y";
250 RETURN
260 REM --- PRINT 64-GRAY SCALE PATTERN ---
270 LPRINT ESC$; "*c"; XL; "A";
280 LPRINT ESC$; "*c"; YL; "B";
290 LPRINT ESC$; "*c"; GRAY; "G";
300 LPRINT ESC$; "*c130P";
310 RETURN
320 REM --- PRINT 8-GRAY SCALE PATTERN ---
330 LPRINT ESC$; "*c"; XL; "A";
340 LPRINT ESC$; "*c"; YL; "B";
350 LPRINT ESC$; "*c"; GRAY; "G";
360 LPRINT ESC$; "*c2P";
370 RETURN
<Sample file 7>

Table of Contents

Other manuals for Brother HL-5450DN

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Brother HL-5450DN and is the answer not in the manual?

Brother HL-5450DN Specifications

General IconGeneral
ColorNo
N-up printing2, 4, 9, 16, 25
Duplex printingYes
Print technologyLaser
Maximum resolution2400 x 600 DPI
Time to first page (black, normal)8.5 s
Print speed (black, normal quality, A4/US Letter)38 ppm
Duplex print speed (black, normal quality, A4/US Letter)9 ppm
Maximum duty cycle- pages per month
Recommended duty cycle1000 - 3500 pages per month
Number of print cartridges1
Memory typeDDR2
Processor familyStar Sapphire
Maximum internal memory320 MB
Sound power level (standby)34 dB
Sound pressure level (printing)59 dB
Sound pressure level (quiet mode)54 dB
Total input capacity250 sheets
Total output capacity150 sheets
Maximum input capacity800 sheets
Total number of input trays2
Multi-Purpose tray input capacity50 sheets
Custom media width76.2 - 215.9 mm
Maximum print size216 x 356 mm
Custom media length127 - 355.6 mm
Paper tray media typesPlain paper, Recycled paper
Paper tray media weight60 - 105 g/m²
Non-ISO print media sizesLetter
ISO A-series sizes (A0...A9)A4, A5, A6
ISO B-series sizes (B0...B9)B5, B6
Multi-purpose tray media typesBond paper, Envelopes, Heavyweight paper, Labels, Plain paper, Recycled paper
Maximum ISO A-series paper sizeA4
Multi-Purpose Tray media weight60 - 163 g/m²
Standard interfacesEthernet, USB 2.0
USB 2.0 ports quantityUSB 2.0 ports have a data transmission speed of 480 Mbps, and are backwards compatible with USB 1.1 ports. You can connect all kinds of peripheral devices to them.
AC input voltage220 - 240 V
AC input frequency50 - 60 Hz
Power consumption (off)0.41 W
Power consumption (standby)4.7 W
Power consumption (printing)665 W
Power consumption (PowerSave)0.6 W
Package weight11.900 g
Sustainability certificatesENERGY STAR
Weight and Dimensions IconWeight and Dimensions
Dimensions (WxDxH)371 x 384 x 245 mm

Related product manuals