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
  #1  
Old   
Robert S. Lobel
 
Posts: n/a

Default Super Q Pointer Question - 12-02-2005 , 09:39 PM






System: AIX/d3 7.4.2

md item: anyname
a1 q
a2
a3
a4 dos:t:anyname

Action: :copy peqs '1' ---->d3 hold file
to: (anyname anyfile.txt ---->will be accessed by Windows XP
workstation through FTP

Is there a way to suppress the DOS end-of-file mark [control-z I believe]
that this action seems to produce? I know that I can edit the resulting
file and remove the DOS end-of-file mark but there must be a more elegant
way. For example, is there a hosts entry for newer (XP) windows systems?

Rob



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

Default Re: Super Q Pointer Question - 12-02-2005 , 11:11 PM






can you "dump" the spooler frame(s) and see if the code is already there?
Check what term type you are using when you create the spooler item. The
devices file for that term type may have an @(-126) defined. If that isn't
it, see if there is a device assigned to that spooler queue via the ASSIGNFQ
command. These will dictate what additional codes, if any, are added to the
file at end (@(-126))

Mark Brown

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

Quote:
System: AIX/d3 7.4.2

md item: anyname
a1 q
a2
a3
a4 dos:t:anyname

Action: :copy peqs '1' ---->d3 hold file
to: (anyname anyfile.txt ---->will be accessed by Windows
XP
workstation through FTP

Is there a way to suppress the DOS end-of-file mark [control-z I believe]
that this action seems to produce? I know that I can edit the resulting
file and remove the DOS end-of-file mark but there must be a more elegant
way. For example, is there a hosts entry for newer (XP) windows systems?

Rob





Reply With Quote
  #3  
Old   
Bill H
 
Posts: n/a

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



Robert:

Not knowing what you're looking for I'll make the following notes:

1) a super 'Q' pointer on a .nix system should look like:

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

This should convert you file into a unix style file, instead of a Windows
file.

Hope this helps.

Bill

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

Quote:
System: AIX/d3 7.4.2

md item: anyname
a1 q
a2
a3
a4 dos:t:anyname

Action: :copy peqs '1' ---->d3 hold file
to: (anyname anyfile.txt ---->will be accessed by Windows
XP
workstation through FTP

Is there a way to suppress the DOS end-of-file mark [control-z I believe]
that this action seems to produce? I know that I can edit the resulting
file and remove the DOS end-of-file mark but there must be a more elegant
way. For example, is there a hosts entry for newer (XP) windows systems?

Rob





Reply With Quote
  #4  
Old   
Frank Winans
 
Posts: n/a

Default Re: Super Q Pointer Question - 12-05-2005 , 11:45 AM



Quote:
"Robert S. Lobel" wrote
System: AIX/d3 7.4.2

md item: anyname
a1 q
a2
a3
a4 dos:t:anyname

Action: :copy peqs '1' ---->d3 hold file
to: (anyname anyfile.txt ---->will be accessed by Windows
XP
workstation through FTP

Is there a way to suppress the DOS end-of-file mark [control-z I believe]
that this action seems to produce? I know that I can edit the resulting
file and remove the DOS end-of-file mark but there must be a more elegant
way. For example, is there a hosts entry for newer (XP) windows systems?

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

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

This should convert you file into a unix style file, instead of a Windows
file.
Feel free to experiment with any of the entries in dm,hosts, not just unix: and dos:
Your use of dos:t: instead of just dos: is a bit rare, too. Try just dos:/tmp or
nt:/tmp
Finally, note that after win98, windows has an optional windows component you can
load from start/settings/control_panel/add_remove_programs/windows_components
that lets you send printer jobs from aix to windows shared printers using lpr/lpq
print protocol instead of windows smb protocol, so you could set up an aix queue to
go to your winbox {and hence a d3 shared printer to the winbox printer} instead of
doing ftp transfers and then manual prints from the windows chair.




Reply With Quote
  #5  
Old   
Robert S. Lobel
 
Posts: n/a

Default Re: Super Q Pointer Question - 12-05-2005 , 06:36 PM



Mark:

Thanks for pointing me in the right direction. It seems that the d3 print
hold file process produces a null attribute at the end of the item (the does
not happen in a regular pick file). The DOS conversion program appends its
usual CR/LF to this null attribute. Unless someone has a better idea, I
will simply remove the final CR/LF once I drag the item onto my Windows XP
desktop.

Rob
"Mark Brown" <mbrown (AT) drexelmgt (DOT) com> wrote

Quote:
can you "dump" the spooler frame(s) and see if the code is already there?
Check what term type you are using when you create the spooler item. The
devices file for that term type may have an @(-126) defined. If that
isn't
it, see if there is a device assigned to that spooler queue via the
ASSIGNFQ
command. These will dictate what additional codes, if any, are added to
the
file at end (@(-126))

Mark Brown

"Robert S. Lobel" <RobertLobel (AT) COX (DOT) net> wrote in message
news:Ty7kf.18330$pF.11826 (AT) fed1read04 (DOT) ..
System: AIX/d3 7.4.2

md item: anyname
a1 q
a2
a3
a4 dos:t:anyname

Action: :copy peqs '1' ---->d3 hold file
to: (anyname anyfile.txt ---->will be accessed by Windows
XP
workstation through FTP

Is there a way to suppress the DOS end-of-file mark [control-z I
believe]
that this action seems to produce? I know that I can edit the resulting
file and remove the DOS end-of-file mark but there must be a more
elegant
way. For example, is there a hosts entry for newer (XP) windows
systems?

Rob







Reply With Quote
  #6  
Old   
Art
 
Posts: n/a

Default Re: Super Q Pointer Question - 12-05-2005 , 07:30 PM



On Mon, 05 Dec 2005 16:45:24 +0000, Frank Winans wrote:
Quote:
Finally, note that after win98, windows has an optional windows component you can
load from start/settings/control_panel/add_remove_programs/windows_components
that lets you send printer jobs from aix to windows shared printers using lpr/lpq
print protocol instead of windows smb protocol, so you could set up an aix queue to
go to your winbox {and hence a d3 shared printer to the winbox printer} instead of
doing ftp transfers and then manual prints from the windows chair.
Where do I find out more about this? Art


Reply With Quote
  #7  
Old   
Frank Winans
 
Posts: n/a

Default Re: Super Q Pointer Question - 12-05-2005 , 08:52 PM



"Art" wrote
Quote:
Frank Winans wrote:
{Windows has an optional windows component for lpr/lpq}
you could set up an aix queue to go to your winbox
{and hence a d3 shared printer to the winbox printer}

Where do I find out more about this? Art
Start by grabbing a post-win98 winbox to be the correspondant with
AIX's printer subsystem on your D3/AIX server. Grab the mouse
on that winbox and make sure you can print a test page to the the physical
printer in question. Tell windows to share the printer. Make sure you've
added that optional print service in add_remove programs/windows
components of control panel. Example: winbox is 192.168.0.14 and
the windows share name is bert. Now go to AIX smit and tell it to create
a new printer queue called shredder that leads to a {lying to AIX here}
a unix server 192.168.0.14 and printer queue bert on that unix server.
Declare along the way that it is a crufty old bsd type server {I guess; works
for me} Now stop and then start the AIX printer subsystem {optional step?}
and do a test print from AIX ; cal | lpr -P shredder
Once that works, create a d3 shared formqueue 99
assignfq 99,lp.unix(lpr -P shredder)
test print to it by sp-assign f99
LU (P





Reply With Quote
  #8  
Old   
Ross Ferris
 
Posts: n/a

Default Re: Super Q Pointer Question - 12-05-2005 , 09:25 PM



And of course if you REALLY want to, you can run Unix Servics for
Windows (Servers), which is a pretty full featurs port of core unix
functionality, and I believe it is "free" these days


Reply With Quote
  #9  
Old   
Art
 
Posts: n/a

Default Re: Super Q Pointer Question - 12-05-2005 , 11:35 PM



On Tue, 06 Dec 2005 01:52:08 +0000, Frank Winans wrote:

Quote:
"Art" wrote
Frank Winans wrote:
{Windows has an optional windows component for lpr/lpq}
you could set up an aix queue to go to your winbox
{and hence a d3 shared printer to the winbox printer}

Where do I find out more about this? Art
Start by grabbing a post-win98 winbox to be the correspondant with
AIX's printer subsystem on your D3/AIX server. Grab the mouse
snip

Thanks! I'll check it out tomorrow!
Art


Reply With Quote
  #10  
Old   
Frank Winans
 
Posts: n/a

Default Re: Super Q Pointer Question - 12-08-2005 , 02:42 PM



"Bill H" wrote
Quote:
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
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.