dbTalk Databases Forums  

Super Q Pointer Question

comp.databases.pick comp.databases.pick


Discuss Super Q Pointer Question in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Robert S. Lobel
 
Posts: n/a

Default Re: Super Q Pointer Question - 12-08-2005 , 07:37 PM






Thanks, Frank.

I determined that d3 print hold files contain a null attribute at the end of
the item. Maybe someone here can explain why that is and a way to suppress
it.

Rob
"Frank Winans" <fwinans (AT) sbcglobal (DOT) net> wrote

Quote:
"Bill H" wrote
1) a super 'Q' pointer on a .nix system should look like:

md item: anyname
001 Q
002
003 unix:/yourshare/yoursubdirectory

You can also stick remarks on attribute 17.
Erm, at least in D3; dunno about other pick-like flavors...





Reply With Quote
  #12  
Old   
Mark Brown
 
Posts: n/a

Default Re: Super Q Pointer Question - 12-08-2005 , 10:36 PM






There is a carriage return at the end of the last line of your document.

Unless you use a construct like PRINT JUNK:

there will always be a carriage ruturn at the end of the data. The area
between that final CR and the end of the frame is filled with x00 nulls and
are ignored by the conversion process, but the trailing carriage reutrn is
left there.

Either live with it or stip it out yourself like

OPEN 'PEQS' TO F1
OPEN "DOS:dospath" TO F2 THEN READ RPT FROM F1,"123" THEN WRITE
RPT[1,LEN(RPT)-2] ON "123.TXT"


Mark Brown

"Robert S. Lobel" <RobertLobel (AT) COX (DOT) net> wrote

Quote:
Thanks, Frank.

I determined that d3 print hold files contain a null attribute at the end
of
the item. Maybe someone here can explain why that is and a way to
suppress
it.

Rob
"Frank Winans" <fwinans (AT) sbcglobal (DOT) net> wrote in message
news00mf.3552$4o7.2960 (AT) newssvr24 (DOT) news.prodigy.net...
"Bill H" wrote
1) a super 'Q' pointer on a .nix system should look like:

md item: anyname
001 Q
002
003 unix:/yourshare/yoursubdirectory

You can also stick remarks on attribute 17.
Erm, at least in D3; dunno about other pick-like flavors...







Reply With Quote
  #13  
Old   
Scott Ballinger
 
Posts: n/a

Default Re: Super Q Pointer Question - 12-09-2005 , 10:38 AM



You can remove the nulls from your print jobs by piping through tr:
(thanks to Rick Davies)

startshp 4,4,1,s194,lp.unix,(tr -d '\000' | lpr -P hp8150n -h) (s

/Scott Ballinger
Pareto Corporation
Edmonds WA USA
206 713 6006

Robert S. Lobel wrote:
Quote:
Thanks, Frank.

I determined that d3 print hold files contain a null attribute at the end of
the item. Maybe someone here can explain why that is and a way to suppress
it.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.