Fonts in D3

This is a discussion on Fonts in D3 within the Pick Database forums in Other Databases category; Greetings, I was reading the D3 manual today and came across all of the various @(-xxx) used to download fonts. Unfortunately, I could not find any examples of that being done. Is anybody familiar with these system codes? I want to put some barcode fonts on D3 and print them out on various printers. In the past I have had my client purchase the barcodes and more sim card, but they don't seem to have these for the newer printers. Any suggestions? Oh yes, it's D3/NT. Thanks, Larry Hazel...

Go Back   Database Forum > Other Databases > Pick Database

Database Forums

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-12-2008, 12:00 AM
Default Fonts in D3

Greetings,

I was reading the D3 manual today and came across all of the
various @(-xxx) used to download fonts. Unfortunately, I
could not find any examples of that being done.

Is anybody familiar with these system codes?

I want to put some barcode fonts on D3 and print them
out on various printers.

In the past I have had my client purchase the barcodes
and more sim card, but they don't seem to have these
for the newer printers.

Any suggestions?

Oh yes, it's D3/NT.

Thanks,

Larry Hazel

Reply With Quote
  #2  
Old 08-12-2008, 02:43 AM
Default Re: Fonts in D3

"Homer L. Hazel" wrote in message
news:827ok.16663$yn5.7321-at-newsfe08.iad...
> Greetings,
>
> I was reading the D3 manual today and came across all of the
> various @(-xxx) used to download fonts. Unfortunately, I
> could not find any examples of that being done.
>
> Is anybody familiar with these system codes?
>
> I want to put some barcode fonts on D3 and print them
> out on various printers.
>
> In the past I have had my client purchase the barcodes
> and more sim card, but they don't seem to have these
> for the newer printers.
>
> Any suggestions?
>
> Oh yes, it's D3/NT.
>
> Thanks,
>
> Larry Hazel
>



Since the invention of Advanced Pick, the devices file item contains all the
@(-x) code definitions if you can understand the way it's coded.

Pick a device you want to setup and edit it with U or ED. You'll see stuff
like

d,X,'1A',< -1
D,X'1E',< -2
D,X'1B','CH4',< -110

It means X'xx' where xx is a hex value or C'xx' where xx are actual string.

Find the line that defines the @(-xx) you want to use. Add extra lines if
you have to. Then insert whatever codes are required to turn on your font.

TERM termtype (CO should compile the item into the ccb and pccb binary items
The ASSIGN-FQ command assigns a terminal type to a particular form queue.

Remember, there's usually a difference between the CCB (cursor control
block) which is set by your term statement, and the PCCB (printer cursor
control block) which is set by the sp-assign. So PRINT @(-XXX) my produce
different results to the crt that to a printer.

Mark

Reply With Quote
  #3  
Old 08-12-2008, 04:20 AM
Default Re: Fonts in D3

On Aug 12, 5:00*am, "Homer L. Hazel" wrote:
>
> Is anybody familiar with these system codes?
>
> I want to put some barcode fonts on D3 and print them
> out on various printers.
>


> Larry Hazel


Larry, have a look at this

http://groups.google.com/group/comp....36f6c8e439fb7f

HTH Diets
Reply With Quote
  #4  
Old 08-12-2008, 12:11 PM
Default Re: Fonts in D3


> In the past I have had my client purchase the barcodes
> and more sim card, but they don't seem to have these
> for the newer printers.
>
> Any suggestions?
>
> Oh yes, it's D3/NT.
>
> Thanks,
>
> Larry Hazel


Larry,

We have used (and still use) the hp barcode font sims in our older hp
printers, but we use this package to emulate the hp sims in our Ricoh
multi function machines ( (copier, printer, scanner).

http://www.makebarcode.com/software/printerfonts.html

Mark
Reply With Quote
  #5  
Old 08-12-2008, 12:17 PM
Default Re: Fonts in D3

Diets, Diets, Diets,

That is awesome. I'll give it a try tonight. Thank you very much.

That's even better than the Barcodes & More sim.

Thanks,

Larry Hazel

"Diets" wrote in message
news:a488627f-c3c0-430a-8938-3884e44e8be9-at-v57g2000hse.googlegroups.com...
On Aug 12, 5:00 am, "Homer L. Hazel" wrote:
>
> Is anybody familiar with these system codes?
>
> I want to put some barcode fonts on D3 and print them
> out on various printers.
>


> Larry Hazel


Larry, have a look at this

http://groups.google.com/group/comp....36f6c8e439fb7f

HTH Diets

Reply With Quote
  #6  
Old 08-12-2008, 12:18 PM
Default Re: Fonts in D3

Mark,

I had actually found that page yesterday and thought it might be a
possibility.

I only wonder how to control the font downloading from D3.

Thanks for the information.

Larry Hazel

"jonman" wrote in message
news:b96f8e14-dd6f-4422-8111-49eea4ca2beb-at-b1g2000hsg.googlegroups.com...
>
>> In the past I have had my client purchase the barcodes
>> and more sim card, but they don't seem to have these
>> for the newer printers.
>>
>> Any suggestions?
>>
>> Oh yes, it's D3/NT.
>>
>> Thanks,
>>
>> Larry Hazel

>
> Larry,
>
> We have used (and still use) the hp barcode font sims in our older hp
> printers, but we use this package to emulate the hp sims in our Ricoh
> multi function machines ( (copier, printer, scanner).
>
> http://www.makebarcode.com/software/printerfonts.html
>
> Mark


Reply With Quote
  #7  
Old 08-12-2008, 12:21 PM
Default Re: Fonts in D3

Mark,

Is there someplace you could suggest that might give me some
insight into how to set up a font within D3 to download to
a printer?

Thanks,

Larry Hazel

"Mark Brown" wrote in message
news:5bydnbMmSteGvjzVnZ2dnUVZ_rbinZ2d-at-comcast.com. ..
> "Homer L. Hazel" wrote in message
> news:827ok.16663$yn5.7321-at-newsfe08.iad...
>> Greetings,
>>
>> I was reading the D3 manual today and came across all of the
>> various @(-xxx) used to download fonts. Unfortunately, I
>> could not find any examples of that being done.
>>
>> Is anybody familiar with these system codes?
>>
>> I want to put some barcode fonts on D3 and print them
>> out on various printers.
>>
>> In the past I have had my client purchase the barcodes
>> and more sim card, but they don't seem to have these
>> for the newer printers.
>>
>> Any suggestions?
>>
>> Oh yes, it's D3/NT.
>>
>> Thanks,
>>
>> Larry Hazel
>>

>
>
> Since the invention of Advanced Pick, the devices file item contains all
> the @(-x) code definitions if you can understand the way it's coded.
>
> Pick a device you want to setup and edit it with U or ED. You'll see
> stuff like
>
> d,X,'1A',< -1
> D,X'1E',< -2
> D,X'1B','CH4',< -110
>
> It means X'xx' where xx is a hex value or C'xx' where xx are actual
> string.
>
> Find the line that defines the @(-xx) you want to use. Add extra lines if
> you have to. Then insert whatever codes are required to turn on your
> font.
>
> TERM termtype (CO should compile the item into the ccb and pccb binary
> items
> The ASSIGN-FQ command assigns a terminal type to a particular form queue.
>
> Remember, there's usually a difference between the CCB (cursor control
> block) which is set by your term statement, and the PCCB (printer cursor
> control block) which is set by the sp-assign. So PRINT @(-XXX) my produce
> different results to the crt that to a printer.
>
> Mark


Reply With Quote
  #8  
Old 08-12-2008, 12:50 PM
Default Re: Fonts in D3

On Aug 12, 9:18 am, "Homer L. Hazel" wrote:
> Mark,
>
> I had actually found that page yesterday and thought it might be a
> possibility.
>
> I only wonder how to control the font downloading from D3.
>
> Thanks for the information.
>
> Larry Hazel


Larry,

We keep the font files on the os file system (linux) and download to
the printer as needed:
EXECUTE "!lpr -Plj5r /home/pick/bc_3of9_8pitch.dsf"

Mark
Reply With Quote
  #9  
Old 08-12-2008, 02:07 PM
Default Re: Fonts in D3

"Homer L. Hazel" wrote
> Greetings,
>
> I was reading the D3 manual today and came across all of the
> various @(-xxx) used to download fonts. Unfortunately, I
> could not find any examples of that being done.
>
> Is anybody familiar with these system codes?
>
> I want to put some barcode fonts on D3 and print them
> out on various printers.
>
> In the past I have had my clients purchase the barcodes
> and more simm cards, but they don't seem to have these
> for the newer printers.
>
> Any suggestions?
>
> Oh yes, it's D3/NT.
>
> Thanks,
>
> Larry Hazel
>

Good job volunteering the details you did! Now perhaps you
could research your printer 'programmer guide' or whatever
they call it and tell us if you're using a laserjet emulation {likely}
versus an epson emulation {probable only if you're using a dot
matrix printer} or none of the above {like if you've got an inkjet
printer that only works with windows operating systems.} Go to
the manufacturers' web site and download it -- they're almost never
included amongst the printer shipping materials.

We don't put printer-related strings in our DEVICES file at our
shop -- we pull all the printer-related things into actual external
utility subs like 12PITCH, MICR-ON, etc. When we buy a new
type printer, we add another CASE to each of those. All our
reports have a printer-type string variable in COMMON that the
utility subs rely on, and we wrote up a file that translate form
queue number to printer type name.

This simplifies loading up a new d3 server {or
upgrading existing ones to a new release of d3} as no items need
be copied/replaced in DEVICES.

I do love the @(nnn) facility for doing screen-related things,
but modern printers need fairly complex 'before, during, and
after the report' command strings. So if you stick most of that in the
DEVICES file, you'd still work you fingers to the bone documenting
how to use it properly, against the day that 'heads will roll'
in the old IT dept.

Oh, and if you go our route, remember to SP-ASSIGN OFnnn
to leave the print job "O"pen on "F"orm queue nnn,
then run whatever subroutines you need to reset / set up the printer,
then your report, then whatever wrapup subroutines your printers may need,
then do an SP-ASSIGN of some sort with no "O"pen letter, at which point
your print job actually goes out to the paper. This prevents D3 from 'helping' you
with some start-of-job printer reset strings or headers or whatnot that undo
your early subroutines' good work when the report program starts up.

It is a pity you can't get your desired barcode font on a smart card for the
printer; to be safe you should download that font before every print job,
since staff often turns off the printer to clear a paper jam, and may not notice
that post-jam they've lost the barcodes. At least this way you only ruin
part of a single print job due to that behavior...

Sometimes the D3 HELP command really only Helps you if you can guess
the right topic to invoke; see HELP DOWNLOAD
and then SEE-ALSO topic Downloading HP Laserjet Fonts -- is a nice
example [from an old issue of PickWorld magazine] of doing soft font
loading {into d3 DM account files} and downloading {to printer as escape
strings}with d3 verbs -- has nothing to do with choosing that font during a
report, though -- only handles getting the soft font loaded into printer memory.
Since we always use fixed-width {never proportional} fonts,
and have routines that download those fonts from our internal tables,
we don't use those described d3 verbs ourselves...

If you are indeed on a laserjet emulation, notice in the docs that you can have
a primary and secondary font set up at the same time; just changing a "(" to a
")" in many of the escape strings focuses the change on primary or
secondary font, without spoiling earlier settings for the other font; pretty handy.



Reply With Quote
  #10  
Old 08-12-2008, 04:35 PM
Default Re: Fonts in D3

Do you only want fonts for printing? If so, do not reinvent, take a
look at PRINTWIZARD. Clean,cheap and very very good. And very easy to
program from Basic. If you use D3/Linux just another printer, if you
use D3/NT you will need a small simple trick. You can take a look at
http://www.nebula-rnd.com/products/printwizard.htm

joseba

On 12 ago, 19:07, "Frank Winans" wrote:
> "Homer L. Hazel" wrote
>
> > Greetings,

>
> > I was reading the D3 manual today and came across all of the
> > various @(-xxx) used to download fonts. Unfortunately, I
> > could not find any examples of that being done.

>
> > Is anybody familiar with these system codes?

>
> > I want to put some barcode fonts on D3 and print them
> > out on various printers.

>
> > In the past I have had my clients purchase the barcodes
> > and more simm cards, but they don't seem to have these
> > for the newer printers.

>
> > Any suggestions?

>
> > Oh yes, it's D3/NT.

>
> > Thanks,

>
> > Larry Hazel

>
> Good job volunteering the details you did! Now perhaps you
> could research your printer 'programmer guide' or whatever
> they call it and tell us if you're using a laserjet emulation {likely}
> versus an epson emulation {probable only if you're using a dot
> matrix printer} or none of the above {like if you've got an inkjet
> printer that only works with windows operating systems.} Go to
> the manufacturers' web site and download it -- they're almost never
> included amongst the printer shipping materials.
>
> We don't put printer-related strings in our DEVICES file at our
> shop -- we pull all the printer-related things into actual external
> utility subs like 12PITCH, MICR-ON, etc. When we buy a new
> type printer, we add another CASE to each of those. All our
> reports have a printer-type string variable in COMMON that the
> utility subs rely on, and we wrote up a file that translate form
> queue number to printer type name.
>
> This simplifies loading up a new d3 server {or
> upgrading existing ones to a new release of d3} as no items need
> be copied/replaced in DEVICES.
>
> I do love the @(nnn) facility for doing screen-related things,
> but modern printers need fairly complex 'before, during, and
> after the report' command strings. So if you stick most of that in the
> DEVICES file, you'd still work you fingers to the bone documenting
> how to use it properly, against the day that 'heads will roll'
> in the old IT dept.
>
> Oh, and if you go our route, remember to SP-ASSIGN OFnnn
> to leave the print job "O"pen on "F"orm queue nnn,
> then run whatever subroutines you need to reset / set up the printer,
> then your report, then whatever wrapup subroutines your printers may need,
> then do an SP-ASSIGN of some sort with no "O"pen letter, at which point
> your print job actually goes out to the paper. This prevents D3 from 'helping' you
> with some start-of-job printer reset strings or headers or whatnot that undo
> your early subroutines' good work when the report program starts up.
>
> It is a pity you can't get your desired barcode font on a smart card for the
> printer; to be safe you should download that font before every print job,
> since staff often turns off the printer to clear a paper jam, and may not notice
> that post-jam they've lost the barcodes. At least this way you only ruin
> part of a single print job due to that behavior...
>
> Sometimes the D3 HELP command really only Helps you if you can guess
> the right topic to invoke; see HELP DOWNLOAD
> and then SEE-ALSO topic Downloading HP Laserjet Fonts -- is a nice
> example [from an old issue of PickWorld magazine] of doing soft font
> loading {into d3 DM account files} and downloading {to printer as escape
> strings}with d3 verbs -- has nothing to do with choosing that font during a
> report, though -- only handles getting the soft font loaded into printer memory.
> Since we always use fixed-width {never proportional} fonts,
> and have routines that download those fonts from our internal tables,
> we don't use those described d3 verbs ourselves...
>
> If you are indeed on a laserjet emulation, notice in the docs that you can have
> a primary and secondary font set up at the same time; just changing a "(" to a
> ")" in many of the escape strings focuses the change on primary or
> secondary font, without spoiling earlier settings for the other font; pretty handy.


Reply With Quote
Reply


Thread Tools
Display Modes



All times are GMT -4. The time now is 11:56 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Integrated by bbpixel2008 :: jvbPlugin R1013.368.1

Search Engine Friendly URLs by vBSEO 3.1.0
vB Ad Management by =RedTyger=
In an effort to better serve ads to our visitors, cookies are used on Mydatabasesupport.com. For more information, check out our Privacy Policy.