In printing-systems/bsd-lpr/bsdlpr.c, function get_printers_list, the system uses a gchar buf[80] to hold onto each line of input from /etc/printcap. If a line exceeds 80 characters, it will consider the continuation of the line to be a new printer yielding a strange printer list. Reproducible: Always Steps to Reproduce: 1. 2. 3.
i increased the buffer size to 1024 characters, should be alright; if i have time i'll try to make it dynamicly allocated