Displaying 20 results from an estimated 100 matches similar to: "Why Is Printing Such a Problem?"
2009 Dec 18
2
[LLVMdev] [PATCH] Circular Buffered Debug Stream
On Friday 18 December 2009 17:27, David Greene wrote:
> > Here's the updated patch.
>
> Well, that didn't go through right. Here it is again.
Argh! Stupid bug fixed. :)
Index: include/llvm/Support/circular_raw_ostream.h
===================================================================
--- include/llvm/Support/circular_raw_ostream.h (revision 0)
+++
2009 Dec 19
0
[LLVMdev] [PATCH] Circular Buffered Debug Stream
On Dec 18, 2009, at 3:46 PM, David Greene wrote:
>
> + /// circular_raw_ostream - A raw_ostream that saves its output in a
> + /// circular buffer.
A better description would be "which *can* save its data to a circular
buffer, or can pass it through directly to an underlying stream if
specified with a buffer of zero."
When it is buffering, what causes it to flush? Your
2009 Dec 18
2
[LLVMdev] [PATCH] Circular Buffered Debug Stream
On Friday 18 December 2009 13:56, David Greene wrote:
> On Friday 18 December 2009 13:53, David Greene wrote:
> > > > + void releaseStream() {
> > > > + // Delete the stream if needed. Otherwise, transfer the buffer
> > > > + // settings from this raw_ostream back to the underlying
> > > > stream. + if (!TheStream)
> > >
2009 Dec 18
0
[LLVMdev] [PATCH] Circular Buffered Debug Stream
On Friday 18 December 2009 13:53, David Greene wrote:
> > > + void releaseStream() {
> > > + // Delete the stream if needed. Otherwise, transfer the buffer
> > > + // settings from this raw_ostream back to the underlying stream.
> > > + if (!TheStream)
> > > + return;
> > > + if (DeleteStream)
> > > +
2009 Dec 18
0
[LLVMdev] [PATCH] Circular Buffered Debug Stream
On Friday 18 December 2009 17:22, David Greene wrote:
> On Friday 18 December 2009 13:56, David Greene wrote:
> > On Friday 18 December 2009 13:53, David Greene wrote:
> > > > > + void releaseStream() {
> > > > > + // Delete the stream if needed. Otherwise, transfer the
> > > > > buffer + // settings from this raw_ostream back to
2009 Dec 16
0
[LLVMdev] [PATCH] Circular Buffered Debug Stream
On Wednesday 16 December 2009 13:19, Chris Lattner wrote:
> + int BufferSize;
> + std::vector<char> BufferArray;
> + bool DelayOutput;
> + std::vector<char>::iterator Cur;
>
> Please doxygenify these.
Ok.
> Instead of using a std::vector for BufferArray, please just new[] an array
> since it is fixed size.
Ok.
> Why is BufferSize needed with
2009 Dec 16
2
[LLVMdev] [PATCH] Circular Buffered Debug Stream
On Dec 16, 2009, at 8:12 AM, David Greene wrote:
>>>
>>> What, specifically, do you want reviewed before I start checking in?
>>> I'll be happy to prepare a patch that shows just that.
>>
>> I want a patch that does one thing (e.g. implements dbgs(),
>
> Ok, let's start with that. Here's the patch to add the circular raw_ostream.
This
2009 Dec 18
4
[LLVMdev] [PATCH] Circular Buffered Debug Stream
On Friday 18 December 2009 12:28, Chris Lattner wrote:
> This is looking a lot better, here are some more comments:
> > + /// current_pos - Return the current position within the stream,
> > + /// not counting the bytes currently in the buffer.
> > + virtual uint64_t current_pos() {
>
> I didn't notice this earlier, but is there any reason for current_pos
2002 Aug 13
2
Win2k explorer.exe dies when dealing with printers
Hi there.
I've been some days dealing with printing problems in Win2k clients, having
a Samba 2.2.5 parched with "parse_sec.patch" as a printer server.
When I try to print anything, explorer.exe dies. Sometimes dies spoolsv.exe,
or sometimes all the system locks (it may be because explorer do not restart).
It happens to all my Win2k clients with Service Pack 2, and only when using
2009 Dec 17
2
[LLVMdev] [PATCH] Circular Buffered Debug Stream
On Wednesday 16 December 2009 13:35, David Greene wrote:
> > Please make BufferSize an 'unsigned' and default it to 8192. Please use
> > PRESERVE_STREAM instead of 'false'.
Here's an updated version of the circular buffer. Ok to check in?
-Dave
Index: include/llvm/Support/circular_raw_ostream.h
2003 May 21
1
Printer Permissions Problem
I am unable to add drivers to network printer.
I am logged in as a user who is allowed to write to
those shares. But when ever I right click on the Properties
of the printer when viewing \\DC\Printers and Faxes\PrinterName,
Most of the tabs are disabled.
I was able to install the drivers some time ago. But not any more.
The more weird thing is that for some of the network printers,
the Ports tab
2009 Dec 18
0
[LLVMdev] [PATCH] Circular Buffered Debug Stream
On Dec 17, 2009, at 3:41 PM, David Greene wrote:
> On Wednesday 16 December 2009 13:35, David Greene wrote:
>
>>> Please make BufferSize an 'unsigned' and default it to 8192. Please use
>>> PRESERVE_STREAM instead of 'false'.
>
> Here's an updated version of the circular buffer. Ok to check in?
This is looking a lot better, here are some more
1998 Aug 26
2
Printing NT to Linux w\Cannon bjc-4000
I am able to see my printer as a share. Well better put, I see four
representations of my printer: ascii, lp2, lp-mono, and raw. I tried
the naive thing and just selected lp2 and added the cannon bjc 4000
driver for NT. This didn't work. I get an error report:
%%[ Error: undefined; offending Command: K ]%% . . . a bunch of strings
that I don't understand. This does not look like the
2009 Dec 19
2
[LLVMdev] [PATCH] Circular Buffered Debug Stream
On Friday 18 December 2009 19:47, Chris Lattner wrote:
> On Dec 18, 2009, at 3:46 PM, David Greene wrote:
> > + /// circular_raw_ostream - A raw_ostream that saves its output in a
> > + /// circular buffer.
>
> A better description would be "which *can* save its data to a circular
> buffer, or can pass it through directly to an underlying stream if
> specified
2014 Nov 14
2
Unable to start container after OS upgrade
I upgraded my container from CentOS 6.4 to CentOS 6.5. Everything looks good after upgrade until reboot. When rebooted to container I'm getting the following errors.. Any help would be greatly appreciated
/bin/mknod: `/dev/lp2': Operation not permitted
/bin/chown: cannot access `/dev/lp2': No such file or directory
/bin/mknod: `/dev/lp3': Operation not permitted
/bin/chown: cannot
2010 Nov 25
0
[LLVMdev] RFC: Exception Handling Proposal II
On Nov 24, 2010, at 11:18 AM, John McCall wrote:
> On Nov 24, 2010, at 5:36 AM, Bill Wendling wrote:
>> Ah ha! I think I had a different mental model than you did. Or at least I remembered things differently from the discussion. :-) For me, there is one dispatch per region, which is why I had the region number associated with the invokes as well as the "unwind to" edge coming
2003 May 05
6
Multiple Printers on LPT
Hi
I have a RH7.2 server with 3 x LPT ports
I have installed the following printers using the GUI printconfig
Lp0 = HP1200
Lp1 = OKI320
Lp2 = OKI321
I have shared them via samba
I can browse them using WinXP & Win2K by browsing the Linux box, looking at
the printers and double clicking to open them, all is OK you would say, No.
I have checked permissions on the /var/lpd directories and
2001 Mar 20
0
redefinition of "print command" not working, usign defaults
Hi,
I have the following trouble with samba 2.0.5a, I have defined my
printers as follows:
in the global section:
printcap name = /etc/printcap
load printers = yes
printing = lprng
print command =/usr/bin/lpr -U%m -P%p -r %s;echo %m
%M>>/var/log/samba/printlog
lpq command = /usr/bin/lpq -U%m -P%p
lprm command = /usr/bin/lprm -U%m -P%p %j
lppause
2002 Sep 02
3
Slow Samba Printer initialisation, status, and printing
OK, I have been wrestling with this for two weeks now, so somebody please
help !
We have an existing Samba Print Server, running RedHat linux, kernel
2.2.19, that runs fine, but is a P133 with 64 mb ram. So we built a new PC,
the slowest thing we could buy, a duron 1 ghz with 512 mb RAM. Old printer
server is running Samba 2.2.5, new printer server is running samba 2.2.5,
and Slackware 8.1,
1999 Jul 06
0
Network printer question
Howdy Folks:
This may be slightly (but not entirely) off-topic for this list,
but I'm sure there are some real gurus out there who should know
this (and I've seen a number of related questions) so here goes:
We just got a new HP8100DN printer. The guy didn't want to let me
do the samba printserver thing, nor did he put it on a windoze box -
he put it directly on the network